home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / loTeX / loTeX.app / Controller.h < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.2 KB  |  32 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <objc/Object.h>
  5.  
  6. @interface Controller:Object
  7. {
  8.     id    returned_panel;        /* panel to connect in IB */
  9.     id  panel_table;        /* hash table mapping names to panels */
  10.     id    swap_place;        /* swapView to contain panels */
  11.     const char *panel_name;    /* name of panel to install */
  12.     id  text_view;        /* scrollView containing text target */
  13. }
  14.  
  15. /* methods to insert symbols      prototype           example: */
  16. - useLabelAsDecl:sender;    /* {\label sel}                        */
  17. - useIconNameAsDecl:sender;    /* {iconname sel}     {\bf sel}          */
  18. - useLabelAsCmd:sender;        /* \label{sel}                            */
  19. - useIconNameAsCmd:sender;    /* iconname{sel}     \overbrace{sel}    */
  20. - useIconNameAsPrintf:sender;    /* icon{sel}name     \left( sel \right) */
  21. - insertLabel:sender;        /* \label         \arccos            */
  22. - insertIconName:sender;    /* icon         \star              */
  23.  
  24. - switchToIconName:sender;    /* switch to selected panel */
  25. - whatPanel;            /* swapView delegate method */
  26.  
  27. - appDidInit:sender;        /* cover for setup: -- use if app delegate */
  28. - setup:sender;            /* cover for setup -- use from IB */
  29. - setup;            /* swap in initial panel -- use from code */
  30.  
  31. @end
  32.